package name.fowler.refactoring.simplestore;

import javax.persistence.Entity;

@Entity
public class Movie extends BaseEntity {
	
	private String m_Title;
	private PriceCode m_PriceCode;

	public Movie() {}
	
	public Movie(String title, PriceCode priceCode)
	{
		m_Title = title;
		setM_PriceCode(priceCode);
	}

	public void setM_PriceCode(PriceCode m_PriceCode) {
		this.m_PriceCode = m_PriceCode;
	}
	
	public PriceCode getPriceCode() {
		return m_PriceCode;
	}

	public String getM_Title() {
		return m_Title;
	}
}
